from django.contrib import admin
from django.urls import path, include
from apps.oauth import views

urlpatterns = [

    # ==> 用户QQ登录 GET http: // www.meiduo.site: 8000 / qq / authorization /?next = /
    path('qq/authorization/', views.QQUrlView.as_view()),

    # ===> 用于QQ扫码授权获取token,openid  GET http: // www.meiduo.site: 8000/oauth_callback/
    path('oauth_callback/',views.QQInfoView.as_view()),
]
